package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserDetail)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:38:38
 */
public class UserDetail implements Serializable {
    private static final long serialVersionUID = 177380307431919780L;
    /**
     * 序号
     */
    private Long id;
    /**
     * 用户id
     */
    private Integer uId;
    /**
     * 用户名
     */
    private String uname;
    /**
     * 用户密码
     */
    private String upwd;
    /**
     * 用户头像
     */
    private String uphoto;
    /**
     * 用户电话
     */
    private String uphone;
    /**
     * 注册时间
     */
    private Date utime;
    /**
     * 用户地址
     */
    private String address;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUId() {
        return uId;
    }

    public void setUId(Integer uId) {
        this.uId = uId;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUpwd() {
        return upwd;
    }

    public void setUpwd(String upwd) {
        this.upwd = upwd;
    }

    public String getUphoto() {
        return uphoto;
    }

    public void setUphoto(String uphoto) {
        this.uphoto = uphoto;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {

        this.address = address;
    }

    @Override
    public String toString (){
        final StringBuilder sb = new StringBuilder("UserDetail{");
        sb.append("id=").append(id);
        sb.append(", uId=").append(uId);
        sb.append(", uname='").append(uname).append('\'');
        sb.append(", upwd='").append(upwd).append('\'');
        sb.append(", uphoto='").append(uphoto).append('\'');
        sb.append(", uphone='").append(uphone).append('\'');
        sb.append(", utime=").append(utime);
        sb.append(", address='").append(address).append('\'');
        sb.append('}');
        return sb.toString();
    }
}